package com.zjhhsd.blackJack.util;

import java.util.Random;

/**
 * 这是一个获取随机头像的类
 */
public class HeadImage {
    public static String getImage(){
        Random random = new Random();
        int num = random.nextInt(images.length);
        return images[num];
    }

    //定义一个在线图片库
    private static String[] images = {
            "https://cdn.pixabay.com/photo/2020/02/02/08/56/strawberry-4812400__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/23/50/nature-4814418__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/19/26/plate-4808792__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/30/19/53/paraglider-4806383__340.jpg",
            "https://cdn.pixabay.com/photo/2019/12/27/03/40/sunset-4721623__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/16/13/15/wood-anemone-4770523__340.jpg",
            "https://cdn.pixabay.com/photo/2017/12/11/03/00/croatia-3011350__340.jpg",
            "https://cdn.pixabay.com/photo/2018/11/29/20/01/nature-3846403__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/07/28/drama-4807339__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/17/51/sea-4810958__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/14/25/horse-4810484__340.jpg",
            "https://cdn.pixabay.com/photo/2019/09/17/05/42/red-rose-4482540__340.jpg",
            "https://cdn.pixabay.com/photo/2019/10/18/07/28/eye-shadow-4558443__340.jpg",
            "https://cdn.pixabay.com/photo/2016/12/03/14/20/woman-1879905__340.jpg",
            "https://cdn.pixabay.com/photo/2016/06/16/02/26/character-1460508__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/30/16/46/valentine-4805916__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/20/22/55/bush-4781627__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/18/42/landscape-4813836__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/25/10/35/blue-tit-4792149__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/19/13/45/butterfly-4777883__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/08/48/lantern-4809820__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/20/20/26/moonlight-4781350__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/03/23/32/goose-4816953__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/27/09/54/landscape-4796800__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/10/16/forest-4812586__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/23/01/jupiter-4811646__340.png",
            "https://cdn.pixabay.com/photo/2020/02/02/05/10/books-4812032__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/21/59/display-dummy-4811579__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/19/01/landscape-4808711__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/08/48/lantern-4809818__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/26/11/46/paper-flower-background-4794429__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/22/37/lights-balls-4811620__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/20/34/swan-4811377__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/03/20/51/swan-4816663__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/24/17/02/landscape-4790746__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/14/06/luggage-4813101__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/20/32/image-4811368__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/18/42/volcano-4813837__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/10/58/flowering-twig-4812673__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/10/34/butterfly-4810014__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/16/40/nude-4810711__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/23/36/easter-4811724__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/14/28/grapes-4813170__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/13/17/daisy-4812979__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/23/20/easter-4811692__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/07/51/tulip-4812262__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/21/04/clock-4811454__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/30/15/28/cat-4805756__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/19/01/landscape-4808710__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/16/08/cat-4813378__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/30/02/40/flowers-4804188__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/13/22/barbary-ape-4808027__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/15/43/cat-4813309__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/08/40/starflower-4812366__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/15/32/stork-4808374__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/08/06/tulip-4812294__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/25/17/56/sunset-4793029__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/02/20/34/soap-bubble-4814080__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/23/56/strawberries-4811741__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/06/18/04/butterfly-4745902__340.jpg",
            "https://cdn.pixabay.com/photo/2020/02/01/20/32/analog-4811370__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/25/18/20/sicily-4793099__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/30/23/20/stork-4806785__340.jpg",
            "https://cdn.pixabay.com/photo/2020/01/31/22/20/animal-4809107__340.jpg"
    };
}
